<?php

class LeiturasController extends Site_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $where = 'PAG_MODULO = "'.$this->_controller.'"';
        $obj = new Ead_Model_DbTable_Paginassite();
        $this->view->result = $obj->fetchRow($where);
        
        $obj = new Ead_Model_DbTable_Leituras();
        $this->view->leituras = $obj->fetchAll($obj->select()->order('LEI_ORD ASC'));
        
        $this->view->submenu_page = TRUE;
    }


}

